GEO 503
GEO 503
Assistant Professor of Global Environmental Change
Geography Department
I Use R:
Mondays 5-7:40 (2 hours 40 min)
A statistics course (see GEO 505, etc.). We will focus on workflow and methods (‘how’ not ‘why’)
–Grolemund & Wickham, R for Data Science, O'Reilly 2016
Add ArcGIS screenshot
Graphical User Interfaces are useful,
A man who does not know foreign language is ignorant of his own.
– Johann Wolfgang von Goethe (1749 - 1832)
Learning a programming language can help you learn how to think logically.
The computer is incredibly fast, accurate, and stupid. Man is unbelievably slow, inaccurate, and brilliant. The marriage of the two is a force beyond calculation.
– Leo Cherne
Programming gives you access to more computer power.
Software ArcGIS 94% Python 29% R 29% SPSS 29% Google Earth Engine 24% Erdas Imagine 24%
Yes 71% No 29%
No 52%
R is a dialect of the S language developed at Bell Laboratories (formerly AT&T) by John Chambers et. al. (same group developed C and UNIX©)
Packages: sp, maptools, rgeos, raster, ggmap Examples: species range overlays
For BIG jobs: multi-core processors / high performance computing with foreach.
Error: cannot allocate vector of size X MbBut there are other options…
Feb 2014: http://r4stats.com/articles/popularity/
http://r4stats.com/articles/popularity/
http://r4stats.com/articles/popularity/
Number of scholarly articles found in the most recent complete year (2014) for each software package used as a topic or tool of analysis. For methods see here.
http://r4stats.com/articles/popularity/
~1.2k respondents http://r4stats.com/articles/popularity/
Over 6k packages!
Typical GUI Workflow Organized and repeatable workflow (and some example commands)
RStudio
Working collaboratively is encouraged but you are responsible for developing your own code to answer the questions.
#' ## Question 1 #' Load the iris dataset by running ## ------------------------------------------------------------------------ data(iris) #' And read about the dataset in the documentation: ## ------------------------------------------------------------------------ ?iris #' > How many observations (rows) are there for the versicolor species? #' _______________________ #' ## Question 2 #' Create a vector with the following values: 23, 45, 12, 89, 1, 13, 28, 18. "' Then multiply each element of the vector by 15. #' > What is the standard deviation of the new vector?